import { setting as input } from './basic/input'
import { setting as textarea } from './basic/textarea'
import { setting as number } from './basic/number'
import { setting as radio } from './basic/radio'
import { setting as checkbox } from './basic/checkbox'
import { setting as time } from './basic/time'
import { setting as date } from './basic/date'
import { setting as rate } from './basic/rate'
import { setting as color } from './basic/color'
import { setting as select } from './basic/select'
import { setting as Switch } from './basic/switch'
import { setting as slider } from './basic/slider'
import { setting as button } from './basic/button'

// 高级组件
import { setting as blank } from './advance/blank'
import { setting as imgupload } from './advance/imgupload'
import { setting as chart } from './advance/chart'

import { setting as grid } from './layout/grid'

export const basicWidgets = [
  input,
  textarea,
  number,
  radio,
  checkbox,
  time,
  date,
  rate,
  color,
  select,
  Switch,
  slider,
  button
]

export const advanceWidgets = [blank, imgupload, chart]

export const layoutWidgets = [grid]
